package com.gxa.p2p.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

import java.sql.Timestamp;
/**
 * @author xiangzuo
 * 意见反馈
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("建议实体")
public class Feedback implements Serializable {

  @ApiModelProperty(name = "id",value = "建议编号")
  private Long id;
  @ApiModelProperty(name = "advice",value = "意见建议")
  private String advice;
  @ApiModelProperty(name = "phoneModel",value = "反馈者手机")
  private String phoneModel;
  @ApiModelProperty(name = "phoneType",value = "手机型号")
  private String phoneType;
  @ApiModelProperty(name = "source",value = "来源")
  private String source;
  @ApiModelProperty(name = "subTime",value = "提交时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Timestamp subTime;
  @ApiModelProperty(name = "reply",value = "回复")
  private String reply;
  @ApiModelProperty(name = "state",value = "状态")
  private Boolean state;


}
